home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 25
/
PC Gamer IT CD 25.iso
/
ZGI_DEMO
/
DATA
/
SCRIPTS.ZFS
/
uc1e.scr
< prev
next >
Wrap
Text File
|
1997-09-04
|
15KB
|
491 lines
# Node uc1e generated on Thu Sep 04 16:18:52 1997
world u
room c
nodeview 1e
puzzle:01566 { # uc1e_no_prefs
criteria {
}
results {
action:menu_bar_enable(781)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01567 { # uc1e_add_to_score
criteria {
[01568] = 1 # uc1e_grab_scroll
}
results {
action:add(14999, 20) # user_score
}
}
puzzle:01569 { # uc1e_preload
criteria {
}
results {
action:animpreload:01570(uc1ea012.avi 0 0 0 0) # uc1e_open_purple_avi
action:animpreload:01571(uc1ea022.avi 0 0 0 0) # uc1e_open_clear_avi
action:animpreload:01572(uc1ea032.avi 0 0 0 0) # uc1e_turn_clear_down_avi
action:animpreload:01573(uc1ea042.avi 0 0 0 0) # uc1e_turn_clear_up_avi
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01574 { # uc1e_screenset
criteria {
[01545] = 0 # uc1e_cast_invisopurple_1
[01544] = 0 # uc1e_cast_thunder_1
}
results {
action:assign(01575, 1) # uc1e_screenset_2
action:assign(01576, 1) # uc1e_screenset_3
action:assign(01577, 1) # uc1e_screenset_3_2
action:assign(01578, 1) # uc1e_screenset_4
action:assign(01579, 1) # uc1e_screenset_4_2
action:set_screen(uc1ef011.tga)
action:disable_control(01580) # uc1e_scroll_ctrl
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01581 { # uc1e_dm_speaks
criteria {
[01024] ! 1 # voice_over
}
results {
action:kill(01024) # voice_over
action:assign(01582, 4) # person_talking
action:universe_music:01024(1 uc1eh60p.raw 0 100) # voice_over
}
}
puzzle:01583 { # uc1e_dm_speaks_2
criteria {
[01024] ! 1 # voice_over
[01545] = 1 # uc1e_cast_invisopurple_1
[01544] = 0 # uc1e_cast_thunder_1
}
results {
action:kill(01024) # voice_over
action:assign(01582, 4) # person_talking
action:universe_music:01024(1 uc1eh61p.raw 0 100) # voice_over
}
}
puzzle:01584 { # uc1e_dm_speaks_3
criteria {
[01024] ! 1 # voice_over
[01545] = 1 # uc1e_cast_invisopurple_1
[01544] = 1 # uc1e_cast_thunder_1
[01568] = 0 # uc1e_grab_scroll
[01585] = 1 # uc1e_cast_thunder_2_end
}
criteria {
[01024] ! 1 # voice_over
[01545] = 0 # uc1e_cast_invisopurple_1
[01544] = 1 # uc1e_cast_thunder_1
[01568] = 0 # uc1e_grab_scroll
[01585] = 1 # uc1e_cast_thunder_2_end
}
results {
action:kill(01024) # voice_over
action:assign(01582, 4) # person_talking
action:universe_music:01024(1 uc1eh62p.raw 0 100) # voice_over
}
}
puzzle:01575 { # uc1e_screenset_2
criteria {
[01545] = 1 # uc1e_cast_invisopurple_1
[01544] = 0 # uc1e_cast_thunder_1
}
results {
action:assign(01574, 1) # uc1e_screenset
action:assign(01576, 1) # uc1e_screenset_3
action:assign(01577, 1) # uc1e_screenset_3_2
action:assign(01578, 1) # uc1e_screenset_4
action:assign(01579, 1) # uc1e_screenset_4_2
action:set_screen(uc1ef021.tga)
action:disable_control(01580) # uc1e_scroll_ctrl
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01576 { # uc1e_screenset_3
criteria {
[01545] = 0 # uc1e_cast_invisopurple_1
[01544] = 1 # uc1e_cast_thunder_1
[01568] = 0 # uc1e_grab_scroll
}
results {
action:assign(01574, 1) # uc1e_screenset
action:assign(01575, 1) # uc1e_screenset_2
action:assign(01577, 1) # uc1e_screenset_3_2
action:assign(01578, 1) # uc1e_screenset_4
action:assign(01579, 1) # uc1e_screenset_4_2
action:set_screen(uc1ef031.tga)
action:enable_control(01580) # uc1e_scroll_ctrl
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01577 { # uc1e_screenset_3_2
criteria {
[01545] = 0 # uc1e_cast_invisopurple_1
[01544] = 1 # uc1e_cast_thunder_1
[01568] = 1 # uc1e_grab_scroll
}
results {
action:assign(01574, 1) # uc1e_screenset
action:assign(01575, 1) # uc1e_screenset_2
action:assign(01576, 1) # uc1e_screenset_3
action:assign(01578, 1) # uc1e_screenset_4
action:assign(01579, 1) # uc1e_screenset_4_2
action:set_screen(uc1ef031.tga)
action:set_partial_screen(291 294 uc1ev011.tga 0 -1)
action:disable_control(01580) # uc1e_scroll_ctrl
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01578 { # uc1e_screenset_4
criteria {
[01545] = 1 # uc1e_cast_invisopurple_1
[01544] = 1 # uc1e_cast_thunder_1
[01568] = 0 # uc1e_grab_scroll
}
results {
action:assign(01574, 1) # uc1e_screenset
action:assign(01575, 1) # uc1e_screenset_2
action:assign(01576, 1) # uc1e_screenset_3
action:assign(01577, 1) # uc1e_screenset_3_2
action:assign(01578, 1) # uc1e_screenset_4
action:set_screen(uc1ef041.tga)
action:enable_control(01580) # uc1e_scroll_ctrl
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01579 { # uc1e_screenset_4_2
criteria {
[01545] = 1 # uc1e_cast_invisopurple_1
[01544] = 1 # uc1e_cast_thunder_1
[01568] = 1 # uc1e_grab_scroll
}
results {
action:assign(01574, 1) # uc1e_screenset
action:assign(01575, 1) # uc1e_screenset_2
action:assign(01576, 1) # uc1e_screenset_3
action:assign(01577, 1) # uc1e_screenset_3_2
action:assign(01578, 1) # uc1e_screenset_4
action:set_screen(uc1ef041.tga)
action:set_partial_screen(291 294 uc1ev011.tga 0 -1)
action:disable_control(01580) # uc1e_scroll_ctrl
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01545 { # uc1e_cast_invisopurple_1
criteria {
[01586] = 1 # uc1e_tree_control
[01544] = 0 # uc1e_cast_thunder_1
[00009] = 231 # Inventory
}
results {
action:assign(01587, 1) # uc1e_cast_invisopurple_2
action:assign(01588, 1) # uc1e_cast_invisopurple_3
action:assign(01591, 1) # uc1e_cast_invisopurple_2_end
action:assign(01893, 1) # uc1e_cast_invisopurple_3_end
action:inventory(drop 231)
action:syncsound(01572 0 uc1eq03q.raw 22050 16 1 0) # uc1e_turn_clear_down_avi
action:playpreload:01589(01572 0 0 640 344 0 7 1) # uc1e_turn_clear_down_avi
}
}
puzzle:01590 { # uc1e_cast_invisopurple_1_end
criteria {
[01589] = 2 # uc1e_turn_visible_task_1
}
results {
action:assign(01591, 1) # uc1e_cast_invisopurple_2_end
action:set_screen(uc1ef021.tga)
}
}
puzzle:01587 { # uc1e_cast_invisopurple_2
criteria {
[01586] = 1 # uc1e_tree_control
[01601] = 1 # uc1e_cast_thunder_1_end
[00009] = 231 # Inventory
[01568] = 0 # uc1e_grab_scroll
}
results {
action:assign(01545, 1) # uc1e_cast_invisopurple_1
action:assign(01588, 1) # uc1e_cast_invisopurple_3
action:assign(01590, 1) # uc1e_cast_invisopurple_1_end
action:assign(01893, 1) # uc1e_cast_invisopurple_3_end
action:inventory(drop 231)
action:syncsound(01573 0 uc1eq03q.raw 22050 16 1 0) # uc1e_turn_clear_up_avi
action:playpreload:01592(01573 0 0 640 344 0 8 1) # uc1e_turn_clear_up_avi
}
}
puzzle:01588 { # uc1e_cast_invisopurple_3
criteria {
[01586] = 1 # uc1e_tree_control
[01601] = 1 # uc1e_cast_thunder_1_end
[00009] = 231 # Inventory
[01568] = 1 # uc1e_grab_scroll
}
results {
action:assign(01545, 1) # uc1e_cast_invisopurple_1
action:assign(01587, 1) # uc1e_cast_invisopurple_2
action:assign(01590, 1) # uc1e_cast_invisopurple_1_end
action:assign(01591, 1) # uc1e_cast_invisopurple_2_end
action:inventory(drop 231)
action:animplay:01592(uc1ea051.avi 0 0 640 344 0 10 1 0 0 0 0) # uc1e_turn_visible_task_2
action:syncsound(01592 0 uc1eq03q.raw 22050 16 1 0) # uc1e_turn_visible_task_2
}
}
puzzle:01591 { # uc1e_cast_invisopurple_2_end
criteria {
[01592] = 2 # uc1e_turn_visible_task_2
[01568] = 0 # uc1e_grab_scroll
}
results {
action:assign(01590, 1) # uc1e_cast_invisopurple_1_end
action:assign(01593, 1) # uc1e_cast_invisopurple_2_end_2
action:set_screen(uc1ef041.tga)
}
}
puzzle:01593 { # uc1e_cast_invisopurple_2_end_2
criteria {
[01592] = 2 # uc1e_turn_visible_task_2
[01568] = 1 # uc1e_grab_scroll
}
results {
action:assign(01590, 1) # uc1e_cast_invisopurple_1_end
action:assign(01591, 1) # uc1e_cast_invisopurple_2_end
action:set_screen(uc1ef041.tga)
action:set_partial_screen(291 294 uc1ev011.tga 0 -1)
}
}
puzzle:01544 { # uc1e_cast_thunder_1
criteria {
[01586] = 1 # uc1e_tree_control
[01594] = 0 # uc1e_cast_thunder
[01545] = 0 # uc1e_cast_invisopurple_1
[00009] = 225 # Inventory
}
criteria {
[00010] = 1 # MouseDown
[01594] = 0 # uc1e_cast_thunder
[01545] = 0 # uc1e_cast_invisopurple_1
[00009] = 225 # Inventory
}
results {
action:inventory(drop 225)
action:assign(01595, 1) # uc1e_cast_thunder_2
action:assign(01585, 1) # uc1e_cast_thunder_2_end
action:assign(01596, 1) # uc1e_cant_back_up
action:timer:01597(20) # uc1e_thunder_timer
action:music:01598(0 uc1eh17q.raw 0 100) # uc1e_thunder_audio
}
}
puzzle:01599 { # uc1e_raise_umbrellas_1
criteria {
[01597] = 2 # uc1e_thunder_timer
}
results {
action:assign(01597, 0) # uc1e_thunder_timer
action:animplay:01600(uc1ea012.avi 0 0 640 344 0 59 1 0 0 0 0) # uc1e_open_purple_task_1
action:syncsound(01600 0 uc1eq02q.raw 22050 16 1 0) # uc1e_open_purple_task_1
}
}
puzzle:01601 { # uc1e_cast_thunder_1_end
criteria {
[01600] = 2 # uc1e_open_purple_task_1
}
results {
action:assign(01585, 1) # uc1e_cast_thunder_2_end
action:assign(01596, 0) # uc1e_cant_back_up
action:set_screen(uc1ef031.tga)
action:enable_control(01580) # uc1e_scroll_ctrl
}
}
puzzle:01595 { # uc1e_cast_thunder_2
criteria {
[01586] = 1 # uc1e_tree_control
[01594] = 0 # uc1e_cast_thunder
[01590] = 1 # uc1e_cast_invisopurple_1_end
[00009] = 225 # Inventory
}
criteria {
[00010] = 1 # MouseDown
[01594] = 0 # uc1e_cast_thunder
[01590] = 1 # uc1e_cast_invisopurple_1_end
[00009] = 225 # Inventory
}
results {
action:inventory(drop 225)
action:assign(01544, 1) # uc1e_cast_thunder_1
action:assign(01601, 1) # uc1e_cast_thunder_1_end
action:assign(01596, 1) # uc1e_cant_back_up
action:timer:01602(20) # uc1e_thunder_timer2
action:music:01603(0 uc1eh17q.raw 0 100) # uc1e_thunder_audio2
}
}
puzzle:01604 { # uc1e_raise_umbrellas_2
criteria {
[01602] = 2 # uc1e_thunder_timer2
}
results {
action:assign(01602, 0) # uc1e_thunder_timer2
action:syncsound(01571 0 uc1eq02q.raw 22050 16 1 0) # uc1e_open_clear_avi
action:playpreload:01605(01571 0 0 640 344 1 59 1) # uc1e_open_clear_avi
}
}
puzzle:01585 { # uc1e_cast_thunder_2_end
criteria {
[01605] = 2 # uc1e_open_clear_task_2
}
results {
action:assign(01601, 1) # uc1e_cast_thunder_1_end
action:assign(01596, 0) # uc1e_cant_back_up
action:set_screen(uc1ef041.tga)
action:enable_control(01580) # uc1e_scroll_ctrl
}
}
puzzle:01606 { # uc1e_empty_clicks
criteria {
[01586] = 1 # uc1e_tree_control
[00009] ! 231 # Inventory
[00009] ! 225 # Inventory
}
results {
action:assign(01606, 0) # uc1e_empty_clicks
action:assign(01586, 0) # uc1e_tree_control
}
flags {
once_per_inst
}
}
puzzle:01607 { # uc1e_empty_magic_clicks
criteria {
[01586] = 1 # uc1e_tree_control
[00009] = 231 # Inventory
[01545] = 1 # uc1e_cast_invisopurple_1
}
criteria {
[01586] = 1 # uc1e_tree_control
[00009] = 225 # Inventory
[01544] = 1 # uc1e_cast_thunder_1
}
results {
action:inventory(drop 231)
action:inventory(drop 225)
action:assign(01607, 0) # uc1e_empty_magic_clicks
action:assign(01586, 0) # uc1e_tree_control
}
flags {
once_per_inst
}
}
puzzle:01568 { # uc1e_grab_scroll
criteria {
[01580] = 1 # uc1e_scroll_ctrl
}
results {
action:set_partial_screen(291 294 uc1ev011.tga 0 -1)
action:assign(00194, 2) # SPELL_4_IN_BOOK
action:dissolve()
action:change_location(g, j, m2, 0)
}
}
puzzle:01608 { # uc1e_move_backwards
criteria {
[01609] = 1 # uc1e_backup
[01596] ! 1 # uc1e_cant_back_up
}
results {
action:assign(01609, 0) # uc1e_backup
action:assign(01610, 1) # uc1e_intro_sound
action:dissolve()
action:change_location(u, c, 10, 872)
}
flags {
once_per_inst
}
}
puzzle:01611 { # uc1e_dont_move_backwards
criteria {
[01609] = 1 # uc1e_backup
[01596] = 1 # uc1e_cant_back_up
}
results {
action:assign(01609, 0) # uc1e_backup
action:assign(01611, 0) # uc1e_dont_move_backwards
}
flags {
once_per_inst
}
}
control:01586 push_toggle { # uc1e_tree_control
flat_hotspot(0, 0, 640, 288)
cursor(active)
}
control:01609 push_toggle { # uc1e_backup
flat_hotspot(0, 289, 640, 55)
cursor(backward)
}
control:01580 push_toggle { # uc1e_scroll_ctrl
flat_hotspot(266, 281, 81, 61)
cursor(handpu)
}
control:01612 flat { # uc1e_flat
}